Skip to main content

All Questions

Tagged with
3votes
1answer
429views

Equivalent of PSReadLine for bash (or whatever linux shell) as you type

I'm aware of this question Equivalent of PSReadLine for bash But sadly it is still not close enough for me, all of the suggestions requires to press either tab, or ctrl + r or whatever, while ...
Nour's user avatar
  • 145
1vote
1answer
59views

Diagnose bash autocomplete issues

I have one binary on my system, fio installed via package manager which doesn't autocomplete files with tab once you've typed fio . I guess this means something must over overridding the autocomplete ...
BeeOnRope's user avatar
2votes
1answer
5kviews

Suppress warning: egrep is obsolescent; using grep -E

When I run egrep, it shows warning: egrep is obsolescent; using grep -E But I'm using it as part of my shell autocomplete script that I often use, and I don't want to rewrite them. I'm looking for way ...
Kristian's user avatar
1vote
1answer
263views

How to stop autocomplete on remote ssh server

When I ssh into a remote server (macOS) from a Linux (Mint) laptop, the remote autocomplete engages and completes upon each keystroke. This started fairly recently, but I can't pinpoint exactly when. ...
chaoborid's user avatar
4votes
3answers
98views

bash file completion without specifying "./"

I am using a minimal install of CentOS 8. If I have a folder called "some_folder" in my home folder, on the command line I can do: some <now hit tab, and bash completion resolves to "...
YorSubs's user avatar
1vote
1answer
769views

Bash tab completion not working following = character

I've looked at a lot of bash tab completion questions and haven't yet found one that answers this one. I'm on a linux system (GNU bash, version 4.2.46(2)-release (x86_64-redhat-linux-gnu)) and ...
Nate's user avatar
  • 283
0votes
1answer
306views

How to cycle through terminal autocomplete suggestions without pressing ENTER key?

In a scenario like following: sudo apt install a (press Tab twice) Display all 1244 possibilities? (y or n) (press Y) (It shows me a list where I can keep seeing more by pressing Enter) abiword-...
mfc's user avatar
2votes
1answer
63views

Temporary display full name of argument instead of short name/abbrev

After an command, where the user should give an output location with -o, I wondered if there is an (standard) command that temporary displays the full name of the given argument, like the -o, that ...
Thomas Anoniem's user avatar
0votes
1answer
345views

bash completion with arguments containing spaces

How to create a bash completion script that contains spaces in the argument, the following work nicely as long as the args are space separated, but I couldn't make it work with args that contain ...
AhHatem's user avatar
0votes
1answer
110views

Centos7 autocomplete path not work

In centos6, If I set testPath=/usr/local/bin and then ls $testPath/ press it would be autocompleted as ls /usr/local/bin but in Centos7, shown is ls \$testPath/ how to set this completion rule ...
ryster's user avatar
4votes
2answers
3kviews

How to generate list of *all* available commands and functions?

In Linux (I am using CentOS 7), there is a built in functionality to view all runnable commands. The command is run by pressing tab twice in the console followed by the prompt: Display all 1130 ...
Alex Ritchie's user avatar
1vote
0answers
158views

When using TAB completion with dd command, options (like 'if' or 'of') disappear

When I type dd if= then hit TAB to complete, the file name is added, but the if= portion vanishes (and of= too, for that matter). So for example, instead of # dd if=input_file.iso of=/dev/sdb I get ...
quaeched's user avatar
2votes
1answer
584views

How to avoid the hang of tab completion in home folder?

Sometimes on the server, if the disk IO load is heavy, the terminal is stuck by the tab completion. Ctrl-C|D|Z all don't quit. Each time I have to login from another session, find the stuck pty and ...
wsdzbm's user avatar
  • 2,926
1vote
1answer
403views

How can I add autocomplete for "gem which" with rbenv?

I am using rbenv on Mac OS X. I have autocomplete functionality already for the gem command: $ gem build environment lock query stale cert fetch ...
cwd's user avatar
  • 46.7k
5votes
1answer
3kviews

When auto-completing in tcsh, can I reference a previous argument?

I'm trying to get some efficient auto-completing going here, and have hit upon a bit of a snag. I've got a command for setting two things at once. The first is a relatively small list, but the second,...
Hugh's user avatar
  • 153

close